<?php
//mysql
$cfg = array();
$cfg['default'] = array(
						'type' => 'mysql',
                        'driver' => 'pdo',
                        //'driver' => 'pdo',
                        //'unix_socket' => '/tmp/mysql.sock', //only for pdo driver
						'dbname' => 'niced',
						'server_id' => '0',
						'failover_server_id' => '0',
						'charset' => 'utf8',
                        'timeout' => '1',
					 ); 
$cfg['system'] = array(
						'type' => 'mysql',
                        'driver' => 'pdo',
                        //'driver' => 'pdo',
                        //'unix_socket' => '/tmp/mysql.sock', //only for pdo driver
						'dbname' => 'system',
						'server_id' => '0',
						'failover_server_id' => '0',
						'charset' => 'utf8',
					 ); 

//memcache
$cfg['query_memcache'] = array(
	'type' => 'memcache',
	'hosts' => array(
				'127.0.0.1:11211:1',
				#'127.0.0.1:11212:1',
			   )
);

//redis
$cfg['niced_redis'] = array(
    'type' => 'redis',
    'dbnum' => 0,
    'server_id' => '1',
    'failover_server_id' => '1',
    'timeout' => '0.1',
);

